package com.ruoyi.teaching.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 课程对象 ya_class
 *
 * @author sunshine
 * @date 2024-01-20
 */
@TableName("ya_class")
public class Classes
{

    /** ID */
    private Long id;

    /** 课程内容 */
    @Excel(name = "课程内容")
    private String className;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;

    /** 开班日期 */
    @Excel(name = "开班日期")
    private String beginDate;

    /** 休息日 */
    @Excel(name = "休息日")
    private Integer restDay;

    /** 自习日 */
    @Excel(name = "自习日")
    private Integer selfStudyDay;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setBeginDate(String beginDate)
    {
        this.beginDate = beginDate;
    }

    public String getBeginDate()
    {
        return beginDate;
    }
    public void setRestDay(Integer restDay)
    {
        this.restDay = restDay;
    }

    public Integer getRestDay()
    {
        return restDay;
    }
    public void setSelfStudyDay(Integer selfStudyDay)
    {
        this.selfStudyDay = selfStudyDay;
    }

    public Integer getSelfStudyDay()
    {
        return selfStudyDay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("className", getClassName())
                .append("remarks", getRemarks())
                .append("beginDate", getBeginDate())
                .append("restDay", getRestDay())
                .append("selfStudyDay", getSelfStudyDay())
                .toString();
    }
}
